    {# <div class="row">
        <form class="form col-sm-5 col-md-5 col-lg-5 " id="form-codelist" >
            <!-- 如果有表单 -->
            {# {{ form.csrf_token }} #}
            <!-- 如果没有表单 -->
            <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />

            <legend class="">字典代码列表</legend>
            <div class="panel panel-default mt-10">
                <a class="btn btn-primary-outline radius f-r size-MINI mr-20 mt-5 va-m" href="{{ url_for('user.new_user') }}">添加</a>
                <a class="btn btn-primary-outline radius f-r size-MINI mr-20 mt-5 va-b" href="{{ url_for('user.new_user') }}">搜索</a>
                {% if codes %}
                <table class="table table-border table-bg table-bordered table-hover">
                    <thead class="text-c">
                        <tr>
                            <th>序号</th>
                            <th>父id</th>
                            <th>字段类型</th>
                            <th>使用状态</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                    {% for code in codes %}
                        <tr>
                            <td>{{ loop.index + ((pagination.page - 1) * pagination.per_page) }}</td>
                            <td>{{ code.typedict_id }}</td>
                            <td>{{ code.name }}</td>
                            <td>{{ code.isUse }}</td>
                            <td>
                                <div class="cl">
                                    <a class="btn btn-default size-MINI radius f-l" href="{{ url_for('admin.edit_dict', dict_id=dict.id) }}">编辑</a>
                                    <form class="inline f-l" method="post" action="{{ url_for('admin.delete_dict', dict_id=dict.id, next=request.full_path) }}">
                                        <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
                                        <button type="submit" class="btn btn-danger-outline size-MINI" onclick="return confirm('确认删除？');">删除</button>
                                    </form>
                                </div>
                            </td>
                        </tr>
                    {% endfor %}
                    </tbody>
                    <tfoot class="text-c">
                        <tr>
                            <th>序号</th>
                            <th>父id</th>
                            <th>字段类型</th>
                            <th>使用状态</th>
                            <th>操作</th>
                        </tr>
                    </tfoot>
                </table>
                {% else %}
                <div class="tip"><h5>没有数据</h5></div>
                {% endif %}
            </div>
        </form>
    </div>     #}